Web Design

Multimedia

CSS Formatting & Style

There are multiple different ways to format and style a web page using css. Each method has their pros and cons. In-depth information can be found here w3schools.com/html/html_css.asp

inline

Inline - by using the style attribute inside HTML elements

<p style= color:blue>this is an example of inline.</p>






internal

Internal - by using a <style> element in the <head> section

<style> body {background-color: powderblue} h1 {color: blue} p {color: red} </style>








external

External - by using a <link> element to link to an external CSS file

<link rel="stylesheet" type= "text/css" href="wdp.css">